package sctu.edu.java.year2016.team01.xuhanmei.day20160529.KnowStatic;

/**
 * Created by Administrator on 2016/5/29.
 */
public class Test {
    public static void main(String[] args) {
        double[] array=new double[5];
        for (int i=0;i<array.length;i++){
            array[i]=100*Math.random();
        }
        System.out.println("原数组是：");
        for(int i=0;i<array.length;i++){
            System.out.println(array[i]);
        }
        System.out.println("最大值："+MaxMin.getResult(array).getMax());
        System.out.println("最小值："+MaxMin.getResult(array).getMin());
    }
}
